Provide for customizing default regexp in hi-lock commands (Bug#13892).
authorJambunathan K <kjambunathan@gmail.com>
Fri, 8 Mar 2013 04:18:16 +0000 (09:48 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Fri, 8 Mar 2013 04:18:16 +0000 (09:48 +0530)
commitd320257507bdbf604bb540ab3df76d7e70389e88
tree241fa60ba079923ee023aa804fdddded5e278421
parent9e6d4fa2841f9f7693b1d46fec57672ee567b0aa
Provide for customizing default regexp in hi-lock commands (Bug#13892).

* lisp/hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
(hi-lock-read-regexp-defaults):  New defun.
(hi-lock-line-face-buffer, hi-lock-face-buffer)
(hi-lock-face-phrase-buffer): Propagate above change.  Update
docstring.

* lisp/subr.el (find-tag-default-as-regexp): New defun.
* lisp/replace.el (read-regexp): Propagate above change.
lisp/ChangeLog
lisp/hi-lock.el
lisp/replace.el
lisp/subr.el